package com.jiazhong.shuzu;

public class Demo03 {
    public static void main(String[] args) {
        int a[]={213,123,435,321,432,512};
        int max=a[0];
        for (int i=1;i<a.length;i++){
            max=max>a[i]?max:a[i];
        }
        System.out.println("max:"+max);
    }
}
